<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item>
      <slot></slot>
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>


<script>
export default {
  //如果是路由级的组件的名称
  //如何是全局注册的时候可以做组件的名称
  name: "my-bread",
};
</script>




